package com.wuye.basic.domain;

import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 房间类型对象 wy_hometype
 * 
 * @author 小停再出发
 * @date 2024-11-22
 */
@TableName("wy_hometype")
public class WyHometype implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(value = "homeTypeId" ,type = IdType.AUTO)
    private Long homeTypeId;

    /** 房屋类型 */
    @Excel(name = "房屋类型")
    @TableField("homeType")
    private String homeType;

    /** 逻辑删除 */
    @TableLogic
    @TableField("del")
    private Long del;

    public void setHomeTypeId(Long homeTypeId) 
    {
        this.homeTypeId = homeTypeId;
    }

    public Long getHomeTypeId() 
    {
        return homeTypeId;
    }
    public void setHomeType(String homeType) 
    {
        this.homeType = homeType;
    }

    public String getHomeType() 
    {
        return homeType;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("homeTypeId", getHomeTypeId())
            .append("homeType", getHomeType())
            .append("del", getDel())
            .toString();
    }
}
